package edu.zju.gis.dbfg.model.entity;

import java.io.Serializable;

/**
 * @author Chen
 */
public class FeatureType implements Serializable {
    public final static String POINT = "Point";
    public final static String ODPAIR = "OdPair";
    public final static String POLYGON = "Polygon";
    public final static String MUILTPOLYGON = "MultiPolygon";
    public final static String LINESTRING = "LineString";
    public final static String WKT = "WKT";

    public static final String POINT_FIELD_LON = "lon";
    public static final String POINT_FIELD_LAT = "lat";
    public static final String POINT_FIELD_CORS = "cors";
    public static final String ODPAIR_FIELD_SLON = "start_lon";
    public static final String ODPAIR_FIELD_SLAT = "start_lat";
    public static final String ODPAIR_FIELD_ELON = "end_lon";
    public static final String ODPAIR_FIELD_ELAT = "end_lat";
    public static final String POLYGON_FIELD = "cors";
    public static final String LINESTRING_FIELD = "cors";
    public static final String WKT_FIELD = "wkt";

    public static final String SPATIAL_FIELD_NAME = "GEOM";
    public static final String SPATIAL_OD_ST_NAME = "GEOM_ST";
    public static final String SPATIAL_OD_ED_NAME = "GEOM_ED";
}
